-- GENERATED SPELL FOR [Dark Iron Agent] --


function spell0_6212(pUnit, Event) --@Dark Iron Land Mine,n/a--
pUnit:FullCastSpellOnTarget(11802,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6212', 1000, 1)
end

function Sorts_6212(pUnit, Event)
local choix_sorts_6212 = math.random(0, 0)
if choix_sorts_6212 == 0 then
pUnit:RegisterEvent('spell0_6212', 1, 1)
end
end

function mob6212_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6212', math.random(1500, 3000), 1)
end

function mob6212_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6212_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6212_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6212, 1, 'mob6212_Action')
RegisterUnitEvent(6212, 2, 'mob6212_Leave')
RegisterUnitEvent(6212, 3, 'mob6212_Kill')
RegisterUnitEvent(6212, 4, 'mob6212_Die')
